﻿@model Classified.Web.Areas.Admin.Models.CountryCurrencyViewModel
<fieldset>
    @Html.HiddenFor(x=>x.Countries.Id)
     @Html.HiddenFor(x=>x.Currencies.Id)
      @Html.HiddenFor(x=>x.Currencies.CountryId)
    <table class="table">
        <tr>
            <td>
                <div class="clearfix">
                    @Html.LabelFor(model => model.Countries.Name)
                    <div class="input">
                        @Html.EditorFor(model => model.Countries.Name)
                        @Html.ValidationMessageFor(model => model.Countries.Name)
                    </div>
                </div>
                <div class="clearfix">
                    @Html.LabelFor(model => model.Countries.NumericIsoCode)
                    <div class="input">
                        @Html.EditorFor(model => model.Countries.NumericIsoCode)
                        @Html.ValidationMessageFor(model => model.Countries.NumericIsoCode)
                    </div>
                </div>
                <div class="clearfix">
                    @Html.LabelFor(model => model.Countries.ThreeLetterIsoCode)
                    <div class="input">
                        @Html.EditorFor(model => model.Countries.ThreeLetterIsoCode)
                        @Html.ValidationMessageFor(model => model.Countries.ThreeLetterIsoCode)
                    </div>
                </div>
                <div class="clearfix">
                    @Html.LabelFor(model => model.Countries.TwoLetterIsoCode)
                    <div class="input">
                        @Html.EditorFor(model => model.Countries.TwoLetterIsoCode)
                        @Html.ValidationMessageFor(model => model.Countries.TwoLetterIsoCode)
                    </div>
                </div>
                <div class="clearfix">
                    @Html.LabelFor(model => model.Countries.DisplayOrder)
                    <div class="input">
                        @Html.EditorFor(model => model.Countries.DisplayOrder)
                        @Html.ValidationMessageFor(model => model.Countries.DisplayOrder)
                    </div>
                </div>
            </td>
            <td>
                <div class="clearfix">
                    @Html.LabelFor(model => model.Currencies.Currency_Name)
                    <div class="input">
                        @Html.EditorFor(model => model.Currencies.Currency_Name)
                        @Html.ValidationMessageFor(model => model.Currencies.Currency_Name)
                    </div>
                </div>
                <div class="clearfix">
                    @Html.LabelFor(model => model.Currencies.ISO_Code)
                    <div class="input">
                        @Html.EditorFor(model => model.Currencies.ISO_Code)
                        @Html.ValidationMessageFor(model => model.Currencies.ISO_Code)
                    </div>
                </div>
                <div class="clearfix">
                    @Html.LabelFor(model => model.Currencies.Currency_Sign)
                    <div class="input">
                        @Html.EditorFor(model => model.Currencies.Currency_Sign)
                        @Html.ValidationMessageFor(model => model.Currencies.Currency_Sign)
                    </div>
                </div>
            </td>
        </tr>
    </table>
    <div class="form-actions">
        <input type="submit" class="btn" value="Save" />
        <input type="button" class="btn closeModal" value="Close window" />
    </div>
</fieldset>
